package com.example.service;

import com.example.pojo.SysUserRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lyj
 * @since 2023-02-16
 */
public interface ISysUserRoleService extends IService<SysUserRole> {

    //给用户分配角色
    boolean assignRoles(Serializable userId, List<Serializable> roleIds);
}
